<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>Hlam 效率Bin值对应关系</title>
    <%@ include file="/common/comCSS-lte.html" %>
    <style>
        .layui-table-hover {
            background-color: #3baae3!important;
        }
    </style>
</head>
<body>
    <ol class="breadcrumb" style="background-color: white;border-bottom: 1px solid #d0e3f0;">
        <li>
            <text style="color: #141a1d;">用户名:</text>
            <span id="userSpan" style="color: blue;">${sessionScope.userId}</span></li>
        <li><a href="/jz-report/loginOut">退出登出</a></li>
        <li><a href="goto?page=home">返回主页</a></li>
        <li class="active">Hlam 效率Bin值对应关系</li>
    </ol>

    <h3 class="text-center" style="margin-bottom: 20px;margin-top: 5px;"><strong style="color: #00008B;">Hlam 效率Bin值对应关系</strong></h3>

    <div class="col-lg-12" style="padding: 0px 30px 0px 40px;">
        <div class="col-lg-5">
            <div>
                <a class="layui-btn layui-btn-sm layui-btn" id="queryFDBB_btn">查询分档</a>
                <a class="layui-btn layui-btn-sm layui-btn-normal" id="addFDBB_btn">新增分档</a>
                <a class="layui-btn layui-btn-sm layui-btn-danger" id="delFDBB_btn">删除分档</a>
            </div>
            <table class=" layui-hide" id="table1" lay-filter="table1"></table>
        </div>
        <div class="col-lg-7">
            <div>
                <a class="layui-btn layui-btn-sm layui-btn-danger" id="delEFGR_btn">删除效率</a>
                <a class="layui-btn layui-btn-sm layui-btn-primary" id="uploadEFGRModal_btn">Excel导入</a>
                <a class="layui-btn layui-btn-sm layui-btn-primary" id="downloadEFGR_btn">Excel模板下载</a>
            </div>
            <table class=" layui-hide" id="table2" lay-filter="table2"></table>
        </div>
    </div>

     <%--Excel导入模态框--%>
    <div id="uploadModal" class="modal fade" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title">导入基础数据</h4>
                </div>
                <div class="modal-body">
                    <form id="uploadForm">
                        <input type="file" name="file" id="fileinput">
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button id="upload_btn" type="button" class="btn btn-primary">导入</button>
                </div>
            </div>
        </div>
    </div>


    <!-- 新增分档版本模态框 -->
    <div id="addFDBBModal" class="modal fade bs-example-modal-lg col-md-12" tabindex="-1" role="dialog" aria-labelledby="addFDBBodalLabel">
        <div class="modal-dialog modal-lg" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="addFDBBModalLabel" style="font-weight: bold"></h4>
                </div>
                <div class="modal-body col-md-12">
                    <form class="form-horizontal col-md-12">
                        <div class="row">
                            <div class="col-md-6 control-group">
                                <label class="control-label col-md-5">分档版本 </label>
                                <div class="col-md-7">
                                    <input id="fdbb_input" type="text" class="form-control">
                                </div>
                            </div>
                            <div class="col-md-6 control-group">
                                <label class="control-label col-md-5">对应线别 </label>
                                <div class="col-md-7">
                                    <input id="dyxb_input" type="text" class="form-control">
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" id="addFDBBModal_btn" class="btn btn-primary">确认</button>
                </div>
            </div>
        </div>
    </div>

    <script type="text/html" id="tableBar1">
        <a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="query">查看对应数据</a>
    </script>

    <script type="text/html" id="tableBar2">
        <a class="layui-btn layui-btn-xs line_edit" lay-event="edit">保存修改</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs line_del" lay-event="del">删除</a>
    </script>

    <%@ include file="/common/comJS-lte.html" %>
    <script src="/jn-report/js/page/bis_efgr.js"></script>
</body>
</html>
